package com.itheima.nio.tomcat.servlet;

import com.itheima.nio.tomcat.domain.HttpRequest;
import com.itheima.nio.tomcat.domain.HttpResponse;
import com.itheima.nio.tomcat.inter.HttpServlet;

public class AServlet implements HttpServlet {
    @Override
    public void service(HttpRequest httpRequest, HttpResponse httpResponse) {
        System.out.println("AServlet....service.....");

        httpResponse.setContentType("text/html;charset=UTF-8");
        httpResponse.write("AServlet....处理了本次请求......");
    }
}
